import 'package:flutter_one/class/app/news/m/NewsInfoModel.dart';
import 'package:flutter_one/class/app/news/vm/NewsPageViewModel.dart';
import 'package:flutter/material.dart';

/*资讯自定义列*/
class NewsPageViewCell extends ListTile {
  final int _index;
  final NewsInfoModel _model;
  final BuildContext _context;

  final NewsPageViewModel _viewModel;

  const NewsPageViewCell(
      this._index, this._model, this._context, this._viewModel,
      {super.key});

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Container(
      padding: const EdgeInsets.fromLTRB(0, 0, 0, 0),
      child: ListTile(
        title: Text(_model.title ?? '此处是标题'),
      ),
    );
  }
}
